/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controllers;

import administrators.User;
import java.io.IOException;
import java.util.List;

/**
 *
 * @author ayle
 */
public interface IUsers {

    void newUser(String nick, String email, String name, String surname, String pass) throws Exception;

    boolean existUser(String nick, String email);

    void editUser(String nick, String newnick, String email, String name, String surname, String pass) throws Exception;

//    DataUser showUser(String nick);
    List listUsers();

    boolean validatePass(String nick, String pass);
//    public void encryptAndStorePass(String nick, String pass) throws IOException;
}
